package com.sl.au.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import com.sl.au.entity.EXDEViExdeBeforeContractWithSign;

public interface EXDEViExdeBeforeContractWithSignRespository extends JpaRepository<EXDEViExdeBeforeContractWithSign, String>{

	@Query("select e from EXDEViExdeBeforeContractWithSign e where e.cUserId=?1 and e.cAuditState=0 ")
	Page<EXDEViExdeBeforeContractWithSign> getBeforeContractsCounterSignList(String userId,Pageable pageable);
}
